﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using iLangl.Model;

namespace iLangl.LanguageWire.DAL.iLanglDAL
{
	public interface ITranslationDAL
	{
		void CreateTranslation(Translation translation, IDbTransaction transaction);

		void UpdateTranslation(Translation translation, IDbTransaction transaction);

		Translation ReadTranslation(string translationId);
		Translation ReadTranslationByTPIdentity(string TPIdentity);
		IList<Translation> ReadTranslationsByProject(Project project);
	}
}
